﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="ReleaseMsg.aspx.cs" Inherits="Enterprise.UI.Web.Modules.Manager.ReleaseMsg"
    ValidateRequest="false" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <link rel="stylesheet" type="text/css" href="../../Styles/css/ssec-form.css" />
    <script charset="utf-8" src="../../kindeditor-4.1.1/kindeditor.js" type="text/javascript"></script>
    <script charset="utf-8" src="../../kindeditor-4.1.1/lang/zh_CN.js" type="text/javascript"></script>
    <script type="text/javascript">
        var editor;
        KindEditor.ready(function (K) {
            editor = K.create('#ReleaseContent', { uploadJson: '/kindeditor-4.1.1/upload/upload_json.ashx' });
        });
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainPH" runat="server">

    <div class="vDaohangtiaoHolder module">
        <div class="vDaohangtiao">
            <ul>
                <li class="first">
                    <a href="/index.aspx" title="首页">首页</a>
                </li>
                <li class="last">领导信箱
                </li>
            </ul>
        </div>
    </div>
    <Ent:HeadMenuWeb ID="HeadMenu1" runat="server">
        <Ent:HeadMenuButtonItem ButtonIcon="back.gif" ButtonName="返回" ButtonPopedom="New"
            ButtonUrl="Index.aspx" ButtonUrlType="Href" />
    </Ent:HeadMenuWeb>

    <div id="contents" class="ssec-form">
        <div class="ssec-group ssec-group-hasicon">
            <img src="../../easyui1.2.6/themes/icons/application.png" alt="" /><span>我要留言</span>
        </div>
        <ul>
            <li>
                <div class="ssec-label">留言给： <span style="color:red; font-weight:bold;">*</span></div>
            </li>
            <li>
                <asp:DropDownList ID="DeptUser" runat="server" class="easyui-validatebox" required="true">
                </asp:DropDownList></li>
        </ul>
        <ul>
            <li>
                <div class="ssec-label">主题 ： <span style="color:red; font-weight:bold;">*</span></div>
            </li>
            <li>
                <div class="ssec-text large">
                    <asp:TextBox ID="ReleaseTitle" runat="server" CssClass="ssec-text-field easyui-validatebox"
                        required="true"></asp:TextBox></div>
            </li>
        </ul>
        <ul>
            <li>
                <div class="ssec-label">内容： <span style="color:red; font-weight:bold;">*</span></div>
            </li>
            <li>
                <asp:TextBox ID="ReleaseContent" ClientIDMode="Static" runat="server" CssClass="easyui-validatebox"
                    TextMode="MultiLine" Height="100" required="true" Width="532" validType="length[0,2000]"></asp:TextBox>
            </li>
        </ul>
        <ul>
            <li>
                <div class="ssec-label">是否公开：</div>
            </li>
            <li>
                <div>
                    <asp:DropDownList ID="ReleaseisShow" runat="server">
                        <asp:ListItem Value="1">公开</asp:ListItem>
                        <asp:ListItem Value="0">不公开</asp:ListItem>
                    </asp:DropDownList>
                </div>
            </li>
        </ul>
        <ul style="display:none;">
            <li>
                <div class="ssec-label">是否匿名：</div>
            </li>
            <li>
                <div>
                    <asp:DropDownList ID="ReleaseIsNim" runat="server">
                        <asp:ListItem Value="0">不匿名</asp:ListItem>
                        <asp:ListItem Value="1">匿名</asp:ListItem>
                    </asp:DropDownList>
                </div>
            </li>
        </ul>
        <div class="ssec-group-bottom ssec-group-hasicon">
            <asp:LinkButton ID="Button1" runat="server" CssClass="easyui-linkbutton" OnClick="Button1_OnClick"
                OnClientClick="editor.sync();return $('#form1').form('validate')&&confirm('确认提交吗？');">提交</asp:LinkButton>
        </div>
    </div>
</asp:Content>
